package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    User getUser(@Param("username") String username,
                 @Param("password") String password);

    void changePwd(@Param("password") String newPwd,
                   @Param("id") String id);

    User getById(String id);

    List getOwners();
}
